package com.linshidream.intrachat.simplenio.pipeline.handler;

import com.linshidream.intrachat.simplenio.pipeline.context.MiniHandlerContext;

/**
 * Created on 2025/8/19 18:03
 *
 * @author linshidream
 * @version 1.0.0
 * @description
 */

public interface MiniChannelOutboundHandler extends MiniChannelHandler {

    /**
     * 写数据到通道
     *
     * @param ctx
     * @param msg
     */
    default void channelWrite(MiniHandlerContext ctx, Object msg) {
        ctx.fireWrite(msg);
    }

}
